package com.bishe.cyh.config;


import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DirectRabbitConfig {

    public final static String Queueu = "Task";

    @Bean
    public Queue Task(){
        return new Queue(Queueu,true);
    }
}
